package com.chenfan.common.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description:
 * @author: weishili
 * @date: 2020/7/29
 * @version: V1.0
 */
@Data
public class BaseUserVO implements Serializable {

    private static final long serialVersionUID = 1984985454749025597L;

    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(value = "登录用户名")
    private String account;

    @ApiModelProperty(value = "用户角色id")
    private String roleIds;

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("部门id")
    private Long departmentId;

    @ApiModelProperty("职位名称")
    private String positionName;

    @ApiModelProperty("租户id")
    private Long tenantId;

}